const TokenKey = 'Authorization'

export function getToken(){
    return localStorage.getItem(TokenKey)
}

export function getUserInfo(){
    return localStorage.getItem('UserInfo')
}

export function removeUserInfo(){
    return localStorage.removeItem('UserInfo')
}

export function setToken(tokenName:any,value:any){
    return localStorage.setItem(tokenName,value)
}

export function removeToken(){
    return localStorage.removeItem(TokenKey)
}
